# pstringrem shell make script
# Marc Wolfgram  16Jan91
# Last revised:  04Jan92

OBJDIR =o/

CFLAGS =+W

OBJLST =$(OBJDIR)rem.root $(OBJDIR)pstring.a

all: pstring.d pstring.r

pstringrem: pstring.d pstring.r
    cp -c pstring.d pstringrem
    cp -r pstring.r pstringrem
    filetype pstringrem S16 56067

pstring.d: $(OBJLST)
    link -x o/rem o/pstring keep=pstring.d

pstring.r: pstring.rez
    compile pstring.rez keep=pstring.r

$(OBJDIR)pstring.a: pstring.c
    compile $(CFLAGS) pstring.c
